package com.ashapo.example;

public class Example002IfElse {

    /**
     * 测试if else 控制流
     * @param args
     */
    public static void main(String[] args){
        int score = 100;

        if(score < 60){
            System.out.println("不及格");
        }else if(score <=70){
            System.out.println("及格");
        }else if(score <=80){
            System.out.println("良好");
        }else if(score <=90){
            System.out.println("优秀");
        }else if(score <100){
            System.out.println("极佳");
        }else{
            System.out.println("满分");
        }
    }
}
